/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shareit;

/**
 *
 * @author pat
 */
public class Vehicle {
	int vehicleClass;
	int vehicleID;
	int depotID;

	public Vehicle(int vehicleClass, int vehicleID, int depotID){
		this.vehicleClass = vehicleClass;
		this.vehicleID = vehicleID;
		this.depotID = depotID;
	}

	public boolean addVehicle(int vehicleClass, int vehicleID, int depotID){
		Vehicle _newVehicle = new Vehicle(vehicleClass,vehicleID,depotID);
		/*
		 * TODO:
		 * add to the vehicle database.
		 */
		return false;
	}

	public boolean removeVehicle(Vehicle vehicle){
		/*
		 * TODO
		 */
		return false;
	}

	public int getDepotID(Vehicle vehicle){
		/*
		 * TODO
		 */
		return vehicle.depotID;
	}

	public int getVehicleClass(Vehicle vehicle){
		/*
		 * TODO
		 */
		return vehicle.vehicleClass;
	}
	;
	public void setDepot(Vehicle vehicle, int depot){
		/*
		 * TODO: Verify
		 */
		vehicle.depotID = depot;
	}
}
